package com.book.core.enums;

/**
 * 图书借阅状态枚举
 */
public enum BorrowRecordType {

    BORROWING(0, "借阅中"),
    RETURNED(1, "已归还"),
    OVERDUE(2, "已逾期"),
    LOST(3, "已丢失");
    private Integer code;
    private String message;

    BorrowRecordType(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
